package com.sbj.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sbj.dto.req.OrderTimeReq;
import com.sbj.dto.res.OrderTimeRes;
import com.sbj.entity.OrderTime;

/**
 * @author summer
 * @version 1.0
 * @date 2024/8/11 09:29
 */
public interface OrderTimeService extends IService<OrderTime> {

    /**
     * 查询列表
     * @param orderTimeReq
     * @return
     */
    Page<OrderTimeRes> lists(OrderTimeReq orderTimeReq);

    /**
     * 抢购时间
     * @return
     */
    OrderTimeRes buyTime();
}
